<style type="text/css">

#box{float:right; position:relative;width:280px; font-weight:400}
.div1{width:280px;}
.div2{position:fixed;_position:absolute;top:45px;z-index:250;}

.side-small-feed{ background:#FFFFFF; width:280px; height:730px}
.side-small-feed li{ padding:17px;*padding:15px}

.feed-hor{ width:250px;height:80px; overflow:hidden; border-bottom:1px dotted #ddd}
.z-feed-img{ float:left;position:relative;width:88px;height:78px;margin:0 1px 0 0; overflow:hidden}
.z-feed-img img{width:78px;height:78px;}
.z-feed-img label{position:absolute;left:0;top:0;border-radius:0 0 4px 0}
.z-feed-title{height:40px;margin-top:0;font-size:14px;margin-bottom:15px;line-height:20px; overflow:hidden}
.z-highlight{color:#f04848}
.z-tag-time{ background:#FF3366; color:#FFFFFF;border-radius:5px}
.z-feed-foot{line-height:30px; font-size:13px}
.z-feed-wz{ float:left;width:160px;}
.z-feed-foot-r{float:right; *margin-top:-31px}
.z-feed-foot-r a{color:#f04848}

</style>
<div class="zdm-aside" id="float"  style="float:left;margin-left:10px">
	    <div class="zdm-box">
    <div class="hd aside-ranking clearfix">
      <h3 class="l money"> <i></i>最火爆料 </h3>
    </div> </div>
<ul class="side-small-feed huobao">
                <?php foreach($huo_goods as $row){?>
				  <li class="feed-hor">
                    <div class="z-feed-img">
                        <label class="z-tag-time"><?=$row['ding']?></label>
                        <a href="<?=$row['url']?>" target="_blank"> <?=dd_html_img($row['img'],$row['title'],120)?> </a>
                    </div>
                    <div class="z-feed-wz">
                        <div class="z-feed-title">
                            <a href="<?=$row['url']?>" target="_blank"><?=$row['title']?></a>
                        </div>
                        <div class="z-feed-foot"><span class="z-highlight">￥<?=$row['discount_price']?></span>
                            <div class="z-feed-foot-r"> 
                                <a href="<?=$row['url']?>" dd-href="?mod=jump&act=s8&iid=<?=iid_encode($row['data_id'])?>&url=" data-itemid="<?=$row['data_id']?>" isconvert=1 class="z-highlight click_url" target="_blank" >查看详情></a>
                            </div>
                        </div>
                    </div>
                </li>
			<?php }?>
		</ul>
		</div>		
	</div>						
<script type="text/javascript" >
//侧栏跟随
(function(){
   var oDiv=document.getElementById("float");
   var H=0,iE6;
   var Y=oDiv;
   while(Y){H+=Y.offsetTop;Y=Y.offsetParent};
   iE6=window.ActiveXObject&&!window.XMLHttpRequest;
   if(!iE6){
       window.onscroll=function()
       {
           var s=document.body.scrollTop||document.documentElement.scrollTop;
           if(s>H){oDiv.className="div1 div2";if(iE6){oDiv.style.top=(s-H)+"px";}}
           else{oDiv.className="div1";}    
       };
   }
})();
</script>						
